import styled from "styled-components";
export const RecommendWrapper = styled.div`
  width: 100%;
  padding-top: 20px;
  transform-origin: right bottom;
`;
export const SongsWrapper = styled.div`
  padding-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
`;
export const SongsItem = styled.div`
  flex: 0 0 33%;
  margin-bottom: 16px;
  .song-img {
    position: relative;
    padding-bottom: 100%;
    &::after {
      content: " ";
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 20px;
      z-index: 1;
      background-image: -webkit-linear-gradient(
        top,
        rgba(0, 0, 0, 0.2),
        rgba(0, 0, 0, 0)
      );
      background-image: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.2),
        rgba(0, 0, 0, 0)
      );
    }
    .num {
      position: absolute;
      right: 5px;
      top: 2px;
      z-index: 2;
      padding-left: 13px;
      color: #fff;
      font-size: 12px;
      background-position: 0;
      background-repeat: no-repeat;
      background-size: 11px 10px;
      text-shadow: 1px 0 0 rgba(0, 0, 0, 0.15);
    }
    img {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
    }
  }
  p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 6px 2px 0 6px;
    min-height: 30px;
    line-height: 1.2;
    font-size: 13px;
  }
`;
